
///使用验证码登录
///   参数：
/// smsCode
/// tel
class LoginbysmsEntity {
	int code;
	LoginbysmsData data;
	String message;

	LoginbysmsEntity({this.code, this.data, this.message});

	LoginbysmsEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new LoginbysmsData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class LoginbysmsData {
	int isHabits;
	String billFinishNum;
	String moneyAvail;
	String cashAvail;
	String name;
	String id;
	String billFailNum;
	int isPwd;
	String token;

	LoginbysmsData({this.isHabits, this.billFinishNum, this.moneyAvail, this.cashAvail, this.name, this.id, this.billFailNum, this.isPwd, this.token});

	LoginbysmsData.fromJson(Map<String, dynamic> json) {
		isHabits = json['isHabits'];
		billFinishNum = json['billFinishNum'];
		moneyAvail = json['moneyAvail'];
		cashAvail = json['cashAvail'];
		name = json['name'];
		id = json['id'];
		billFailNum = json['billFailNum'];
		isPwd = json['isPwd'];
		token = json['token'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['isHabits'] = this.isHabits;
		data['billFinishNum'] = this.billFinishNum;
		data['moneyAvail'] = this.moneyAvail;
		data['cashAvail'] = this.cashAvail;
		data['name'] = this.name;
		data['id'] = this.id;
		data['billFailNum'] = this.billFailNum;
		data['isPwd'] = this.isPwd;
		data['token'] = this.token;
		return data;
	}
}
